<template>
  <div class="headerfive">
    <div class="yundongjils">
      <div class="paobus">
        <img :src="fivss.imgs" alt="" />
      </div>
      <div class="yingshifengxi">
        <img :src="fivss.imgs1" alt="" />
      </div>
    </div>

    <ul class="xuanxiangkas">
      <li>
        <img :src="fivss.imgs2" alt="" />
      </li>
      <li>
        <img :src="fivss.imgs3" alt="" />
      </li>
      <li>
        <img :src="fivss.imgs4" alt="" />
      </li>
    </ul>

    <div class="xuanxaings" @click="fun()">编辑卡片</div>
  </div>
</template>

<script>
import getlink from "../../apis/getapi"
export default {
 data() {
   return {
     fivss:{},
   }
 },
  mounted() {
    getlink("/data/list/xiaoming").then((ok)=>{
      console.log(ok.data.fives);
      this.fivss = ok.data.fives;
    })
  },

  methods: {
    fun(){
      this.$router.push("/Tiaozhuan")
    }
  },
};
</script>

<style scoped>
.headerfive {
  width: 100%;
}

.yundongjils {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  height: 2rem;
  margin: auto;
}
.paobus {
  display: flex;
  width: 48%;
  height: 80%;
  background: chocolate;
  border-radius: 0.3rem;
}
.paobus img {
  width: 100%;
  height: 100%;
  border-radius: 0.3rem;
}
.yingshifengxi {
  width: 48%;
  height: 80%;
  background: chocolate;
  border-radius: 0.3rem;
}
.yingshifengxi img {
  width: 100%;
  height: 100%;
  border-radius: 0.3rem;
}

.xuanxiangkas {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;

}
.xuanxiangkas li {
  width: 48%;
  height: 40%;
  border-radius: 0.15rem;
  margin-top: 0.1rem;
}
.xuanxiangkas img {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 0.15rem;
}
.xuanxaings {
  width: 100%;
  height: 0.4rem;
  font-size: 0.2rem;
  text-align: center;
  line-height: 0.4rem;
  color: #db704e;
}
</style>